package org.springblade.modules.restaurant.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author harry
 * @公众号 Harry技术
 */
@Data
@ColumnWidth(25)
@HeadRowHeight(20)
@ContentRowHeight(18)
public class CommodityRecordRelationExcel implements Serializable {
	@Serial
	private static final long serialVersionUID = 1L;

	@ColumnWidth(15)
	@ExcelProperty("类别名")
	private String categoryName;

	@ColumnWidth(25)
	@ExcelProperty("货物名")
	private String commodityName;

	@ColumnWidth(15)
	@ExcelProperty("数量")
	private Integer number;

	@ColumnWidth(15)
	@ExcelProperty("单位")
	private String unit;

	@ColumnWidth(15)
	@ExcelProperty("备注")
	private String remark;

}
